/**
 * <pre>
 * Title: 		DaoFactoryImpl.java
 * Author:		linriqing
 * Create:	 	2010-6-29 下午05:39:12
 * Copyright: 	Copyright (c) 2010
 * Company:		Shenzhen Helper
 * <pre>
 */
package com.hengpeng.itfin.persist.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.hengpeng.common.persist.CommonDao;
import com.hengpeng.itfin.persist.BorrowInfoDao;
import com.hengpeng.itfin.persist.DaoFactory;
import com.hengpeng.itfin.persist.DrawFileDao;
import com.hengpeng.itfin.persist.DrawingDao;
import com.hengpeng.itfin.persist.EmailLogDao;
import com.hengpeng.itfin.persist.InvestInfoDao;
import com.hengpeng.itfin.persist.OperateLogDao;
import com.hengpeng.itfin.persist.PartnerDao;
import com.hengpeng.itfin.persist.PaymentDao;
import com.hengpeng.itfin.persist.PaymentProviderDao;
import com.hengpeng.itfin.persist.ReceivePlanDao;
import com.hengpeng.itfin.persist.RecoverRepayDao;
import com.hengpeng.itfin.persist.RepaymentPlanDao;
import com.hengpeng.itfin.persist.SmsLogDao;
import com.hengpeng.itfin.persist.SmsPartnerDao;
import com.hengpeng.itfin.persist.StaticJDBCDao;
import com.hengpeng.itfin.persist.SystemJobDao;
import com.hengpeng.itfin.persist.TransferDao;
import com.hengpeng.itfin.persist.UserBankCardDao;
import com.hengpeng.itfin.persist.UserInfoDao;
import com.hengpeng.itfin.persist.VerifyCodeDao;

/**
 * <pre>
 * DAO接口工厂实现
 * </pre>
 * 
 * @author linriqing
 * @version 1.0, 2010-6-29
 */
@Repository
public class DaoFactoryImpl implements DaoFactory {
	@Autowired
	private CommonDao commonDao;

	@Autowired
	private PartnerDao PartnerDao;

	@Autowired
	private EmailLogDao emailLogDao;

	@Autowired
	private OperateLogDao operateLogDao;

	@Autowired
	private PaymentProviderDao paymentProviderDao;

	@Autowired
	private SmsLogDao smsLogDao;

	@Autowired
	private SmsPartnerDao smsPartnerDao;

	@Autowired
	private SystemJobDao systemJobDao;

	@Autowired
	private UserInfoDao userInfoDao;

	@Autowired
	private BorrowInfoDao borrowInfoDao;

	@Autowired
	private RepaymentPlanDao repaymentPlanDao;

	@Autowired
	private InvestInfoDao investInfoDao;

	@Autowired
	private VerifyCodeDao verifyCodeDao;

	@Autowired
	private UserBankCardDao userBankCardDao;

	@Autowired
	private DrawFileDao drawFileDao;

	@Autowired
	private DrawingDao drawingDao;

	@Autowired
	private StaticJDBCDao staticJDBCDao;

	@Autowired
	private ReceivePlanDao receivePlanDao;

	@Autowired
	private TransferDao transferDao;

	@Autowired
	private RecoverRepayDao recoverRepayDao;
	
	@Autowired
	private PaymentDao paymentDao;
	
	@Override
	public PaymentDao getPaymentDao() {
		return paymentDao;
	}

	@Override
	public RecoverRepayDao getRecoverRepayDao() {
		return recoverRepayDao;
	}

	@Override
	public TransferDao getTransferDao() {
		return transferDao;
	}

	@Override
	public ReceivePlanDao getReceivePlanDao() {
		return receivePlanDao;
	}

	@Override
	public StaticJDBCDao getStaticJDBCDao() {
		return staticJDBCDao;
	}

	@Override
	public DrawingDao getDrawingDao() {
		return drawingDao;
	}

	@Override
	public DrawFileDao getDrawFileDao() {
		return drawFileDao;
	}

	@Override
	public UserBankCardDao getUserBankCardDao() {
		return userBankCardDao;
	}

	@Autowired
	public VerifyCodeDao getVerifyCodeDao() {
		return verifyCodeDao;
	}

	@Override
	public RepaymentPlanDao getRepaymentPlanDao() {
		return repaymentPlanDao;
	}

	@Override
	public BorrowInfoDao getBorrowInfoDao() {
		return borrowInfoDao;
	}

	public CommonDao getCommonDao() {
		return commonDao;
	}

	public PartnerDao getPartnerDao() {
		return PartnerDao;
	}

	@Override
	public EmailLogDao getEmailLogDao() {
		return emailLogDao;
	}

	public OperateLogDao getOperateLogDao() {
		return operateLogDao;
	}

	@Override
	public PaymentProviderDao getPaymentProviderDao() {
		return paymentProviderDao;
	}

	@Override
	public SmsLogDao getSmsLogDao() {
		return smsLogDao;
	}

	public SmsPartnerDao getSmsPartnerDao() {
		return smsPartnerDao;
	}

	@Override
	public SystemJobDao getSystemJobDao() {
		return systemJobDao;
	}

	public void setCommonDao(CommonDao masterCommonDao) {
		this.commonDao = masterCommonDao;
	}

	public void setOperateLogDao(OperateLogDao operateLogDao) {
		this.operateLogDao = operateLogDao;
	}

	@Override
	public UserInfoDao getUserInfoDao() {
		return userInfoDao;
	}

	@Override
	public InvestInfoDao getInvestInfoDao() {
		return investInfoDao;
	}

}
